$(OBJCOPY) -R .note -R .comment -S $(TARGET)-syms $(TARGET)
# $(BASEDIR)/tools/elf-reloc $(MONITOR_BASE) $(LOAD_BASE) $(TARGET)
-asm-offsets.s: asm-offsets.c $(BASEDIR)/include/asm-ia64/.offsets.h.stamp
+asm-offsets.s: asm-offsets.c
$(CC) $(CFLAGS) -S -o $@ $<
-$(BASEDIR)/include/asm-ia64/.offsets.h.stamp:
-# Need such symbol link to make linux headers available
- [ -e $(BASEDIR)/include/linux ] \
- || ln -s $(BASEDIR)/include/xen $(BASEDIR)/include/linux
- [ -e $(BASEDIR)/include/asm-ia64/xen ] \
- || ln -s $(BASEDIR)/include/asm-ia64/linux $(BASEDIR)/include/asm-ia64/xen
-# Solve circular reference on asm-offsets.h
- [ -f $(BASEDIR)/include/asm-ia64/asm-offsets.h ] \
- || echo "#define IA64_TASK_SIZE 0" > $(BASEDIR)/include/asm-ia64/asm-offsets.h
-#Bad hack. Force asm-offsets.h out-of-date
- sleep 1
- touch $@
-
# I'm sure a Makefile wizard would know a better way to do this
xen.lds.s: xen.lds.S
$(CC) -E $(CPPFLAGS) -P -DXEN -D__ASSEMBLY__ \